<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function Person() {
            this.eye = 2;
            this.mouth = 1;
        }
        function wuman() {

        }
        function man() {

        }
        wuman.prototype = new Person();
        man.prototype = new Person();
        wuman.prototype.constructor = wuman;
        man.prototype.constructor = man;
        wuman.prototype.bady = function () {
            console.log('bady');
        }
        const wuman1 = new wuman();
        const man1 = new man();
        console.log(wuman1);
        console.log(man1);
        wuman1.bady();
    </script>
</body>

</html>